package cn.iocoder.yudao.module.vos.controller.admin.tenantrequestlog.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 租户请求日志分页 Request VO")
@Data
public class TenantRequestLogPageReqVO extends PageParam {

    @Schema(description = "租户ID", example = "31858")
    private Long rechargeTenantId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "请求URL", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "请求参数")
    private String params;

    @Schema(description = "请求返回")
    private String respons;

    @Schema(description = "请求类型", example = "2")
    private String requestType;

    @Schema(description = "单价(元)", example = "15984")
    private BigDecimal unitPrice;

    @Schema(description = "请求后的余额(元)")
    private BigDecimal afterBalance;

    @Schema(description = "请求编号", example = "20230810101010101010101010101010")
    private String requestNumber;

}